package com.cj.ai.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cc
 * @since 2024-08-20
 */

@TableName("wx_login")
@Data
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class WxLogin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String openid;

    @JsonProperty("session_key")
    private String sessionKey;

    private String unionid;

    private String errcode;

    private String errmsg;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
